package com.example.xxpk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangguihong
 * @since 2025-01-21
 */
@Getter
@Setter
@TableName("users")
@ApiModel(value = "Users对象", description = "")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty("OPENID")
    private String openId;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("用户头像")
    private String avatarUrl;

    @ApiModelProperty("用户等级")
    private Integer lv;

    @ApiModelProperty("用户经验值 ")
    private Integer exp;

    @ApiModelProperty("用户等级")
    private Integer energys;

    @ApiModelProperty("当前人物id")
    private Integer roleId;

    @ApiModelProperty("当前飞行器id")
    private Integer aircraftId;

    @ApiModelProperty("用户灵石数量")
    private Integer diamond;

    @ApiModelProperty("用户极品灵石数量")
    private Integer premiumDiamond;

    @ApiModelProperty("通用道具数量")
    private Integer universalProps;

    @ApiModelProperty("补签道具")
    private Integer signInPrpos;

    @ApiModelProperty("最高分")
    private Integer highestScore;

    @ApiModelProperty("是否封禁")
    private String ban;

    @ApiModelProperty("最近登录时间")
    private LocalDateTime recentLoginTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

 


}
